/**
 * 
 */
package com.ermax.aircond.common.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Eric
 *
 */

@Entity
@Table(name="GData")
public class GateData implements Serializable {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 4561006395401740004L;
	
	
	@Id
	@Column(nullable = false)
	private short gid;
	private String ip;
	private String name;
	
	/**
	 * @return the gid
	 */
	public short getGid() {
		return gid;
	}
	/**
	 * @param gid the gid to set
	 */
	public void setGid(short gid) {
		this.gid = gid;
	}
	/**
	 * @return the ip
	 */
	public String getIp() {
		return ip;
	}
	/**
	 * @param ip the ip to set
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
}
